package com.example.transaction.sys.service;

import com.example.transaction.sys.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDateTime;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zh
 * @since 2023-06-20
 */
public interface IOrderService extends IService<Order> {

    void cancelOrder(Integer orderId);

    void findAndPublishExpiredOrders(LocalDateTime now);
}
